package com.ucw.ucwclient.dal.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.UActivityEnroll;

@Repository
public interface UActivityEnrollMapper {
	int deleteByPrimaryKey(@Param("activityId") Integer activityId, @Param("userId") Long userId);

	int insert(UActivityEnroll record);

	int insertSelective(UActivityEnroll record);

	UActivityEnroll selectByPrimaryKey(@Param("activityId") Integer activityId, @Param("userId") Long userId);

	int updateByPrimaryKeySelective(UActivityEnroll record);

	int updateByPrimaryKey(UActivityEnroll record);

	int enrollOne(UActivityEnroll enroll);
}